﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZMotion
{
    public class AxisStatus
    {
        public AxisStatus() 
        {
            TragetPos = 2000;
            MoveSpd = 1000;
        }
        [ReadOnly(true)]
        public string AxisNum
        {
            get;
            set;
        }
        [ReadOnly(true)]
        public double CommandPos
        {
            get;
            set;
        }
        [ReadOnly(true)]
        public double CurentPos
        {
            get;
            set;
        }
        [ReadOnly(true)]
        public bool CCW
        {
            get;
            set;
        }
        [ReadOnly(true)]
        public bool HOME
        {
            get;
            set;
        }
        [ReadOnly(true)]
        public bool CW
        {
            get;
            set;
        }
        public bool Alarm
        {
            get;
            set;
        }
        [ReadOnly(true)]
        public bool MoveDone
        {
            get;
            set;
        }
        public int TragetPos
        {
            get;
            set;
        }
        public int MoveSpd
        {
            get;
            set;
        }
    }
}
